On the Parameterized Complexity of Associative and Commutative Unification
نویسندگان
چکیده
This paper studies the unification problem with associative, commutative, and associative-commutative functions mainly from a viewpoint of the parameterized complexity on the number of variables. It is shown that both associative and associative-commutative unification problems are W [1]-hard. A fixed-parameter algorithm and a polynomialtime algorithm are presented for special cases of commutative unification in which one input term is variable-free and the number of variables is bounded by a constant, respectively. Related results including those on the string and tree edit distance problems with variables are shown too.
منابع مشابه
Complexity of Associative-commutative Unification Check and Related Problems *
The uniication problem for terms containing associative and commutative functions is of great importance in theorem provers based on term rewriting and resolution methods as well as in logic programming. The complexity of determining whether two such terms are uniiable was known to be NP-hard. It is proved that the problem is NP-complete by describing a nondeterministic polynomial time algorith...
متن کاملHigher-Order Equational Pattern Anti-Unification∗
We consider anti-unification for simply typed lambda terms in associative, commutative, and associative-commutative theories and develop a sound and complete algorithm which takes two lambda terms and computes their generalizations in the form of higher-order patterns. The problem is finitary: the minimal complete set of generalizations contains finitely many elements. We define the notion of o...
متن کاملAdventures in Associative-Commutative Unification
We have discovered an eecient algorithm for matching and uniication in associa-tive-commutative (AC) equational theories. In most cases of AC uniication our method obviates the need for solving diophantine equations, and thus avoids one of the bottlenecks of other associative-commutative uniication techniques. The algorithm eeciently utilizes powerful constraints to eliminate much of the search...
متن کاملA Complete Unification Algorithm for Associative-Commutative Functions
An important component of mechanical theorem proving systems are unification algorithms which find most genaral substitutions which, when applied to two expresssions, maka them equivalent. Functions which are associative and commutative (such as the arithmetic addition and multiplication functions) are often the subject of mechanical theorem proving. An algorithm which unifies terms whose funct...
متن کاملHigher-Order Equational Pattern Anti-Unification [Preprint]
We consider anti-unification for simply typed lambda terms in associative, commutative, and associativecommutative theories and develop a sound and complete algorithm which takes two lambda terms and computes their generalizations in the form of higher-order patterns. The problem is finitary: the minimal complete set of generalizations contains finitely many elements. We define the notion of op...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Theor. Comput. Sci.
دوره 660 شماره
صفحات -
تاریخ انتشار 2014